package com.ruoyi.generator.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 移动端页面树对象 sys_from_build_page
 *
 * @author ZGL
 * @date 2024-12-12
 */
public class FromBuildPage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 上级id */
    @Excel(name = "上级id")
    private String parentId;

    /** 设计标识 */
    @Excel(name = "设计标识")
    private String buildKey;

    /** 所属app标识 */
    @Excel(name = "所属app标识")
    private String appKey;

    /** 页面名称 */
    @Excel(name = "页面名称")
    private String pageName;

    /** 页面状态 */
    @Excel(name = "页面状态")
    private String status;

    /** 页面顺序 */
    @Excel(name = "页面顺序")
    private Long num;

    /** 页面初始化方法 */
    @Excel(name = "页面初始化方法")
    private String initMethod;

    /** 页面销毁时执行方法 */
    @Excel(name = "页面销毁时执行方法")
    private String destroyMethod;

    /** 删除标记 */
    private String delFlag;

    /** 记录标识 */
    private String defPk;

    /** 默认与主表关联值 */
    private String defFk;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBuildKey(String buildKey)
    {
        this.buildKey = buildKey;
    }

    public String getBuildKey()
    {
        return buildKey;
    }
    public void setPageName(String pageName)
    {
        this.pageName = pageName;
    }

    public String getPageName()
    {
        return pageName;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setDefPk(String defPk)
    {
        this.defPk = defPk;
    }

    public String getDefPk()
    {
        return defPk;
    }
    public void setDefFk(String defFk)
    {
        this.defFk = defFk;
    }

    public String getDefFk()
    {
        return defFk;
    }
    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppKey() {
        return appKey;
    }
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentId() {
        return parentId;
    }
    public void setNum(Long num) {
        this.num = num;
    }

    public Long getNum() {
        return num;
    }
    public void setInitMethod(String initMethod) {
        this.initMethod = initMethod;
    }

    public String getInitMethod() {
        return initMethod;
    }
    public void setDestroyMethod(String destroyMethod) {
        this.destroyMethod = destroyMethod;
    }

    public String getDestroyMethod() {
        return destroyMethod;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("buildKey", getBuildKey())
            .append("appKey", getAppKey())
            .append("pageName", getPageName())
            .append("status", getStatus())
            .append("num", getNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("defPk", getDefPk())
            .append("defFk", getDefFk())
            .append("defFk", getInitMethod())
            .append("defFk", getDestroyMethod())
            .toString();
    }
}
